<table class="table table-condensed">
  <thead>
	<tr>
		<th>#</th>
		<th>Pendidikan</th>
		<th></th>
	</tr>
  </thead>
  <tbody>
	<?php 
		if(count($list)>0){
			$i = 1; 
			foreach ($list->result() as $row) {
	?>
	<tr class="hover">
		<td width="30"><?php echo $i++ ?></td>
		<td><?php echo $row->pendidikan;?></td> 
		<td class="text-right">											
			<a class="editorLink" data-reveal-id="delModal" data-reveal nama="<?php echo $row->pendidikan; ?>" hpid="<?php echo $row->id_m_pendidikan;?>"><span class="glyphicon glyphicon-trash"></span> Hapus</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<a onclick="edit_pendidikan('<?php echo $row->id_m_pendidikan;?>')" class="editorLink" data-reveal-id="editModal" data-reveal><span class="glyphicon glyphicon-edit"></span> Edit</a>
		</td>
	</tr>
	<?php
			}
		}else{
	?>
	<tr>
		<td colspan="3"><center>Belum ada data master Pendidikan</center></td>
	</tr>
	<?php
		}
	?>
  </tbody>
</table>